<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/
//get请求
Route::get('student/index','studentController@index');
Route::get('student/create','studentController@create');
Route::get('student/detail/{id}','studentController@detail');
Route::get('student/update/{id}','studentController@update');


//post请求
Route::post('student/save','studentController@save');
Route::any('student/delete/{id}','studentController@delete');